/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-03-24
 * Time: 19:33
 */
public class Main {
    public static void main(String[] args) {
        //IShape iShape = new IShape();//编译错误：java: IShape是抽象的; 无法实例化
        IShape ishape1 = new Circle();
        IShape ishape2 = new Rectangle();
        ishape1.draw();
        ishape2.draw();
        /*输出：
        圆形！！！
        矩形！！！*/
    }
}
